
/** 表格表头 */
export const tableColumns = (t: (msg:string) => string) => [
  {
    prop: 'id',
    type: 'selection',
    label: t('table.selection'),
    width: 55,
    reserveSelection: true,
    fixed: 'left',
  },
  {
    prop: 'store_id',
    label: t('table.store_id'),
    minWidth: 100,
  },
  {
    prop: 'store_name',
    label: t('table.store_name'),
    minWidth: 100,
  },
  {
    prop: 'money',
    label: t('table.money'),
    minWidth: 120,
  },
  {
    prop: 'type',
    label: t('table.type'),
    minWidth: 120,
  },
  {
    prop: 'addtime',
    label: t('table.addtime'),
    minWidth: 120,
    format: 'date|YYYY-MM-DD HH:mm:ss',
  },
  {
    prop: 'beizhu',
    label: t('table.beizhu'),
    minWidth: 120,
  },
];
/** 表格表头 */
export const tableColumns2 = (t: (msg:string) => string) => [
  {
    prop: 'id',
    type: 'selection',
    label: t('table.selection'),
    width: 55,
    reserveSelection: true,
    fixed: 'left',
  },
  {
    prop: 'store_id',
    label: t('table.store_id'),
    minWidth: 100,
  },
  {
    prop: 'store_name',
    label: t('table.store_name'),
    minWidth: 100,
  },
  {
    prop: 'money',
    label: t('table.money'),
    minWidth: 120,
  },
  {
    prop: 'type',
    label: t('table.type'),
    minWidth: 120,
  },
  {
    prop: 'addtime',
    label: t('table.addtime'),
    minWidth: 120,
    format: 'date|YYYY-MM-DD HH:mm:ss',
  },
  {
    prop: 'beizhu',
    label: t('table.beizhu'),
    minWidth: 120,
  },
];